<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<body>
<center>
    <h1>用户注册</h1>
    <!--http://localhost:8080/regUser?username=张吉&password=123&nickname=杰杰&age=22  -->
    <form action="/regUser" method="get">
    <table border="3">
        <tr>
            <td>用户名</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td>昵称</td>
            <td><input type="text" name="nickname"></td>
        </tr>
        <tr>
            <td>年龄</td>
            <td><input type="number" name="age"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="注册"><!--将button改为submit,
                   表单提交的专属按钮,类型为submit,点击这个按钮的表单按照起action
                   指定的位置提交
                   -->
            </td>
        </tr>
    </table>
    </form>

</center>

</body>
</html>